package org.nvframe.event;

/**
 * 
 * @author Nik Van Looy
 */
public abstract class AbstractEvent implements Event {
	
	abstract protected Class<? extends EventListener> getListener();

	public boolean hasListener(EventListener listener) {
		if(getListener().isInstance(listener))
				return true;
		
		return false;
	}

}
